import fetch from '@/utils/fetch'

export default {
  async findAll(data) {
    return await fetch({
      url: '/table/cost/findAll',
      method: 'post',
      data,
    })
  },

  async page(data) {
    return await fetch({
      url: '/table/cost/page',
      method: 'post',
      data,
    })
  },

  async save(data) {
    return await fetch({
      url: '/table/cost/save',
      method: 'post',
      data,
    })
  },

  async remove(data) {
    return await fetch({
      url: '/table/cost/remove',
      method: 'post',
      data,
    })
  }
}

